From da896db1d85505e9cfd02d2420c76927f0b54dfc Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 20 May 2003 01:08:48 +0000 Subject: [PATCH] Fix admin count to not include bots --- includes/SpecialStatistics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialStatistics.php b/includes/SpecialStatistics.php index cbbbb64c1d..8c4335ffdc 100644 --- a/includes/SpecialStatistics.php +++ b/includes/SpecialStatistics.php @@ -36,7 +36,7 @@ function wfSpecialStatistics() $total = $row->total; $sql = "SELECT COUNT(user_id) AS total FROM user " . - "WHERE user_rights <> ''"; + "WHERE user_rights LIKE '%sysop%'"; $res = wfQuery( $sql, $fname ); $row = wfFetchObject( $res ); $admins = $row->total; -- 2.20.1